package texture;

public class DynamicTexture extends AbstractTexture {
	private final int width;
	private final int height;
	private final int[] dynamicTextureData;

	public DynamicTexture(int par1, int par2) {
		this.width = par1;
		this.height = par2;
		this.dynamicTextureData = new int[par1 * par2];
		TextureUtil.allocateTexture(this.getGlTextureId(), par1, par2);
	}

	public int[] getTextureData() {
		return this.dynamicTextureData;
	}

	@Override
	public void loadTexture(ResourceManager theResourceManager) {
	}

	public int getWidth() {
		return width;
	}

	public int getHeight() {
		return height;
	}
}
